package com.aios.action.user.system;

public class SystemUserEditAction extends AbstractSystemUserAction {

	private static final long serialVersionUID = 1L;
	
	public String execute() {

		setMode(Mode.EDIT);
		
		try{
			this.systemUser= systemUserService.selectActiveUserByPrimaryKey(id);
		}catch(Exception e) {
			//logger
			addActionError(getText("error.user.notfound"));
		}
		
		return SUCCESS;
	}
}
